﻿<!doctype html>
<meta charset="utf-8">
<html>
  <head>
     <title>HTML5存储</title>
	 <script type="text/javascript" src="script.js"></script>
  </head>
  <body>
    <h1> web Storage 示例</h1>
	<p id="msg"></p>
	<input type="text" id="input">
	<input type="button" value="保存数据" onclick="saveStorage('input')">
	<input type="button" value="读取数据" onclick="loadStorage('msg')">
  </body>
</html>